package com.xms.security.data;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xms.security.entity.Privilege;
import org.apache.ibatis.annotations.Param;

import java.util.UUID;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author migo
 * @since 2021-08-29
 */
public interface PrivilegeMapper extends BaseMapper<Privilege> {
    boolean moveAfter(@Param("moveid") UUID moveid, @Param("targetparentid") UUID targetparentid, @Param("targetorder") int targetorder);
    boolean moveInside(@Param("moveid") UUID moveid, @Param("parentid") UUID parentid);
}
